﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace plas.cps.ui.Tools
{
    public class MessageBoxUtil
    {
        public static void ShowMessageBox(string message)
        {
            MessageBox.Show(message, "系统信息");
        }
        public static void ShowErrorBox(string message)
        {
            MessageBox.Show(message, "系统错误");
        }
        public static bool ShowOkMessgeBox(string message)
        {
            if (MessageBox.Show(message, "提示信息", MessageBoxButtons.OKCancel) == DialogResult.OK)
                return true;
            else
                return false;
        }
    }
}
